from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    url(r'^/?$', 'fonr.alpha.views.profile', name='home'),
    url(r'^signup/?', 'fonr.alpha.views.signup', name='signup'),
    url(r'^([0-9]{10})/?', 'fonr.alpha.views.search'),
    url(r'^login/?$', 'fonr.alpha.views.loginpage'),
    url(r'^search/?$', 'fonr.alpha.views.search'),
    url(r'^search/([0-9]{10})/?$', 'fonr.alpha.views.search'),
    url(r'^review/([0-9]+)/?$', 'fonr.alpha.views.single_review'),
    url(r'^profile/?$', 'fonr.alpha.views.profile'),
    url(r'^vote/([0-9]+)/?$', 'fonr.alpha.views.vote'),
    url(r'^logout/?$', 'fonr.alpha.views.logout_page'),
    url(r'^verify/?$', 'fonr.alpha.views.verify'),
    url(r'^settings/?$', 'fonr.alpha.views.settings'),
    url(r'^report/?$', 'fonr.alpha.views.report'),
    url(r'^thankyou/?$', 'fonr.alpha.views.thankyou'),
    
    # Admin
    url('^superadmin/?$', 'fonr.alpha.views_admin.stream'),
    url('^superadmin/stream/?$', 'fonr.alpha.views_admin.stream'),
    url('^superadmin/stream/([0-9]+)/?$', 'fonr.alpha.views_admin.stream'),
    url('^superadmin/invites/?$', 'fonr.alpha.views_admin.invites'),
    url('^superadmin/reports/?$', 'fonr.alpha.views_admin.reports'),
    url('^superadmin/prospectives/?$', 'fonr.alpha.views_admin.prospectives'),
    url('^superadmin/reviews/?$', 'fonr.alpha.views_admin.reviews'),
)
